import request from '@/utils/request'

// 预约用户列表查询
export function listUsers(query) {
  return request({
    url: '/system/user/paccount',
    method: 'get',
    params: query
  })
}

// 预约用户状态修改
export function changeUsersStatus(userId, status) {
  const data = {
    userId,
    status
  }
  return request({
    url: '/system/user/changePtStatus',
    method: 'put',
    data: data
  })
}
